# -*- coding: utf-8 -*-

'''
  Copyright (c) [2021] [CaliFall]
   [GarbageDetectGolf] is licensed under Mulan PSL v2.
   You can use this software according to the terms and conditions of the Mulan PSL v2. 
   You may obtain a copy of Mulan PSL v2 at:
            http://license.coscl.org.cn/MulanPSL2 
   THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.  
   See the Mulan PSL v2 for more details.  
'''

# Form implementation generated from reading ui file 'api_ui.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets

from PyQt5.QtMultimedia import QMediaContent, QMediaPlayer
from PyQt5.QtMultimediaWidgets import QVideoWidget
from PyQt5.QtWidgets import QApplication, QMainWindow,QFileDialog

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1024, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget.setGeometry(QtCore.QRect(560, 10, 461, 171))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.layoutWidget.setFont(font)
        self.layoutWidget.setObjectName("layoutWidget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.layoutWidget)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.listWidget_msg = QtWidgets.QListWidget(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.listWidget_msg.sizePolicy().hasHeightForWidth())
        self.listWidget_msg.setSizePolicy(sizePolicy)
        self.listWidget_msg.setMinimumSize(QtCore.QSize(370, 0))
        self.listWidget_msg.setMaximumSize(QtCore.QSize(200, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(12)
        self.listWidget_msg.setFont(font)
        self.listWidget_msg.setFocusPolicy(QtCore.Qt.NoFocus)
        self.listWidget_msg.setObjectName("listWidget_msg")
        item = QtWidgets.QListWidgetItem()
        self.listWidget_msg.addItem(item)
        self.horizontalLayout.addWidget(self.listWidget_msg)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.pushButton_start = QtWidgets.QPushButton(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_start.sizePolicy().hasHeightForWidth())
        self.pushButton_start.setSizePolicy(sizePolicy)
        self.pushButton_start.setMinimumSize(QtCore.QSize(0, 0))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.pushButton_start.setFont(font)
        self.pushButton_start.setObjectName("pushButton_start")
        self.verticalLayout.addWidget(self.pushButton_start)
        self.lineEdit_msg = QtWidgets.QLineEdit(self.layoutWidget)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(7)
        self.lineEdit_msg.setFont(font)
        self.lineEdit_msg.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_msg.setText("")
        self.lineEdit_msg.setReadOnly(True)
        self.lineEdit_msg.setObjectName("lineEdit_msg")
        self.verticalLayout.addWidget(self.lineEdit_msg)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.layoutWidget1 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget1.setGeometry(QtCore.QRect(560, 190, 141, 181))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.layoutWidget1.setFont(font)
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.layoutWidget1)
        self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.lineEdit_list_1_1 = QtWidgets.QLineEdit(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_list_1_1.sizePolicy().hasHeightForWidth())
        self.lineEdit_list_1_1.setSizePolicy(sizePolicy)
        self.lineEdit_list_1_1.setMinimumSize(QtCore.QSize(50, 0))
        self.lineEdit_list_1_1.setMaximumSize(QtCore.QSize(200, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_list_1_1.setFont(font)
        self.lineEdit_list_1_1.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_list_1_1.setReadOnly(True)
        self.lineEdit_list_1_1.setObjectName("lineEdit_list_1_1")
        self.verticalLayout_3.addWidget(self.lineEdit_list_1_1)
        self.lineEdit_list_1_2 = QtWidgets.QLineEdit(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_list_1_2.sizePolicy().hasHeightForWidth())
        self.lineEdit_list_1_2.setSizePolicy(sizePolicy)
        self.lineEdit_list_1_2.setMinimumSize(QtCore.QSize(50, 0))
        self.lineEdit_list_1_2.setMaximumSize(QtCore.QSize(200, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_list_1_2.setFont(font)
        self.lineEdit_list_1_2.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_list_1_2.setReadOnly(True)
        self.lineEdit_list_1_2.setObjectName("lineEdit_list_1_2")
        self.verticalLayout_3.addWidget(self.lineEdit_list_1_2)
        self.lineEdit_list_1_3 = QtWidgets.QLineEdit(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_list_1_3.sizePolicy().hasHeightForWidth())
        self.lineEdit_list_1_3.setSizePolicy(sizePolicy)
        self.lineEdit_list_1_3.setMinimumSize(QtCore.QSize(50, 0))
        self.lineEdit_list_1_3.setMaximumSize(QtCore.QSize(200, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_list_1_3.setFont(font)
        self.lineEdit_list_1_3.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_list_1_3.setReadOnly(True)
        self.lineEdit_list_1_3.setObjectName("lineEdit_list_1_3")
        self.verticalLayout_3.addWidget(self.lineEdit_list_1_3)
        self.lineEdit_list_1_4 = QtWidgets.QLineEdit(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_list_1_4.sizePolicy().hasHeightForWidth())
        self.lineEdit_list_1_4.setSizePolicy(sizePolicy)
        self.lineEdit_list_1_4.setMinimumSize(QtCore.QSize(50, 0))
        self.lineEdit_list_1_4.setMaximumSize(QtCore.QSize(200, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_list_1_4.setFont(font)
        self.lineEdit_list_1_4.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_list_1_4.setReadOnly(True)
        self.lineEdit_list_1_4.setObjectName("lineEdit_list_1_4")
        self.verticalLayout_3.addWidget(self.lineEdit_list_1_4)
        self.lineEdit_list_1_total = QtWidgets.QLineEdit(self.layoutWidget1)
        self.lineEdit_list_1_total.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_list_1_total.sizePolicy().hasHeightForWidth())
        self.lineEdit_list_1_total.setSizePolicy(sizePolicy)
        self.lineEdit_list_1_total.setMinimumSize(QtCore.QSize(50, 0))
        self.lineEdit_list_1_total.setMaximumSize(QtCore.QSize(200, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_list_1_total.setFont(font)
        self.lineEdit_list_1_total.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_list_1_total.setReadOnly(True)
        self.lineEdit_list_1_total.setObjectName("lineEdit_list_1_total")
        self.verticalLayout_3.addWidget(self.lineEdit_list_1_total)
        self.horizontalLayout_3.addLayout(self.verticalLayout_3)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.lineEdit_list_2_1 = QtWidgets.QLineEdit(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_list_2_1.sizePolicy().hasHeightForWidth())
        self.lineEdit_list_2_1.setSizePolicy(sizePolicy)
        self.lineEdit_list_2_1.setMinimumSize(QtCore.QSize(40, 0))
        self.lineEdit_list_2_1.setMaximumSize(QtCore.QSize(60, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_list_2_1.setFont(font)
        self.lineEdit_list_2_1.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_list_2_1.setReadOnly(True)
        self.lineEdit_list_2_1.setObjectName("lineEdit_list_2_1")
        self.verticalLayout_4.addWidget(self.lineEdit_list_2_1)
        self.lineEdit_list_2_2 = QtWidgets.QLineEdit(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_list_2_2.sizePolicy().hasHeightForWidth())
        self.lineEdit_list_2_2.setSizePolicy(sizePolicy)
        self.lineEdit_list_2_2.setMinimumSize(QtCore.QSize(40, 0))
        self.lineEdit_list_2_2.setMaximumSize(QtCore.QSize(60, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_list_2_2.setFont(font)
        self.lineEdit_list_2_2.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_list_2_2.setReadOnly(True)
        self.lineEdit_list_2_2.setObjectName("lineEdit_list_2_2")
        self.verticalLayout_4.addWidget(self.lineEdit_list_2_2)
        self.lineEdit_list_2_3 = QtWidgets.QLineEdit(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_list_2_3.sizePolicy().hasHeightForWidth())
        self.lineEdit_list_2_3.setSizePolicy(sizePolicy)
        self.lineEdit_list_2_3.setMinimumSize(QtCore.QSize(40, 0))
        self.lineEdit_list_2_3.setMaximumSize(QtCore.QSize(60, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_list_2_3.setFont(font)
        self.lineEdit_list_2_3.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_list_2_3.setReadOnly(True)
        self.lineEdit_list_2_3.setObjectName("lineEdit_list_2_3")
        self.verticalLayout_4.addWidget(self.lineEdit_list_2_3)
        self.lineEdit_list_2_4 = QtWidgets.QLineEdit(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_list_2_4.sizePolicy().hasHeightForWidth())
        self.lineEdit_list_2_4.setSizePolicy(sizePolicy)
        self.lineEdit_list_2_4.setMinimumSize(QtCore.QSize(40, 0))
        self.lineEdit_list_2_4.setMaximumSize(QtCore.QSize(60, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_list_2_4.setFont(font)
        self.lineEdit_list_2_4.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_list_2_4.setReadOnly(True)
        self.lineEdit_list_2_4.setObjectName("lineEdit_list_2_4")
        self.verticalLayout_4.addWidget(self.lineEdit_list_2_4)
        self.lineEdit_list_2_total = QtWidgets.QLineEdit(self.layoutWidget1)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_list_2_total.sizePolicy().hasHeightForWidth())
        self.lineEdit_list_2_total.setSizePolicy(sizePolicy)
        self.lineEdit_list_2_total.setMinimumSize(QtCore.QSize(40, 0))
        self.lineEdit_list_2_total.setMaximumSize(QtCore.QSize(60, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_list_2_total.setFont(font)
        self.lineEdit_list_2_total.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_list_2_total.setReadOnly(True)
        self.lineEdit_list_2_total.setObjectName("lineEdit_list_2_total")
        self.verticalLayout_4.addWidget(self.lineEdit_list_2_total)
        self.horizontalLayout_3.addLayout(self.verticalLayout_4)
        self.layoutWidget2 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget2.setGeometry(QtCore.QRect(10, 10, 541, 391))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.layoutWidget2.setFont(font)
        self.layoutWidget2.setObjectName("layoutWidget2")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.layoutWidget2)
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.wgt_video = QVideoWidget(self.layoutWidget2)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.wgt_video.setFont(font)
        self.wgt_video.setObjectName("wgt_video")
        self.verticalLayout_5.addWidget(self.wgt_video)
        self.pushButton_play = QtWidgets.QPushButton(self.layoutWidget2)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.pushButton_play.setFont(font)
        self.pushButton_play.setObjectName("pushButton_play")
        self.verticalLayout_5.addWidget(self.pushButton_play)
        self.listWidget_debug = QtWidgets.QListWidget(self.centralwidget)
        self.listWidget_debug.setGeometry(QtCore.QRect(560, 420, 361, 131))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.listWidget_debug.setFont(font)
        self.listWidget_debug.setFocusPolicy(QtCore.Qt.NoFocus)
        self.listWidget_debug.setObjectName("listWidget_debug")
        item = QtWidgets.QListWidgetItem()
        self.listWidget_debug.addItem(item)
        self.layoutWidget3 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget3.setGeometry(QtCore.QRect(10, 420, 181, 131))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.layoutWidget3.setFont(font)
        self.layoutWidget3.setObjectName("layoutWidget3")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.layoutWidget3)
        self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.button_moto_back = QtWidgets.QPushButton(self.layoutWidget3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_moto_back.sizePolicy().hasHeightForWidth())
        self.button_moto_back.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.button_moto_back.setFont(font)
        self.button_moto_back.setObjectName("button_moto_back")
        self.horizontalLayout_4.addWidget(self.button_moto_back)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.button_moto_test = QtWidgets.QPushButton(self.layoutWidget3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_moto_test.sizePolicy().hasHeightForWidth())
        self.button_moto_test.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.button_moto_test.setFont(font)
        self.button_moto_test.setObjectName("button_moto_test")
        self.verticalLayout_6.addWidget(self.button_moto_test)
        self.button_moto_safe = QtWidgets.QPushButton(self.layoutWidget3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_moto_safe.sizePolicy().hasHeightForWidth())
        self.button_moto_safe.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.button_moto_safe.setFont(font)
        self.button_moto_safe.setObjectName("button_moto_safe")
        self.verticalLayout_6.addWidget(self.button_moto_safe)
        self.horizontalLayout_4.addLayout(self.verticalLayout_6)
        self.button_sensor = QtWidgets.QPushButton(self.layoutWidget3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_sensor.sizePolicy().hasHeightForWidth())
        self.button_sensor.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.button_sensor.setFont(font)
        self.button_sensor.setObjectName("button_sensor")
        self.horizontalLayout_4.addWidget(self.button_sensor)
        self.layoutWidget4 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget4.setGeometry(QtCore.QRect(200, 420, 351, 131))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.layoutWidget4.setFont(font)
        self.layoutWidget4.setObjectName("layoutWidget4")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.layoutWidget4)
        self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.lineEdit_cond_1_1 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_1_1.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_1_1.setSizePolicy(sizePolicy)
        self.lineEdit_cond_1_1.setMinimumSize(QtCore.QSize(140, 0))
        self.lineEdit_cond_1_1.setMaximumSize(QtCore.QSize(140, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_cond_1_1.setFont(font)
        self.lineEdit_cond_1_1.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_1_1.setObjectName("lineEdit_cond_1_1")
        self.verticalLayout_7.addWidget(self.lineEdit_cond_1_1)
        self.lineEdit_cond_1_2 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_1_2.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_1_2.setSizePolicy(sizePolicy)
        self.lineEdit_cond_1_2.setMinimumSize(QtCore.QSize(140, 0))
        self.lineEdit_cond_1_2.setMaximumSize(QtCore.QSize(140, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_cond_1_2.setFont(font)
        self.lineEdit_cond_1_2.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_1_2.setObjectName("lineEdit_cond_1_2")
        self.verticalLayout_7.addWidget(self.lineEdit_cond_1_2)
        self.lineEdit_cond_1_3 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_1_3.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_1_3.setSizePolicy(sizePolicy)
        self.lineEdit_cond_1_3.setMinimumSize(QtCore.QSize(140, 0))
        self.lineEdit_cond_1_3.setMaximumSize(QtCore.QSize(140, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_cond_1_3.setFont(font)
        self.lineEdit_cond_1_3.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_1_3.setObjectName("lineEdit_cond_1_3")
        self.verticalLayout_7.addWidget(self.lineEdit_cond_1_3)
        self.lineEdit_cond_1_4 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_1_4.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_1_4.setSizePolicy(sizePolicy)
        self.lineEdit_cond_1_4.setMinimumSize(QtCore.QSize(140, 0))
        self.lineEdit_cond_1_4.setMaximumSize(QtCore.QSize(140, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit_cond_1_4.setFont(font)
        self.lineEdit_cond_1_4.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_1_4.setObjectName("lineEdit_cond_1_4")
        self.verticalLayout_7.addWidget(self.lineEdit_cond_1_4)
        self.horizontalLayout_5.addLayout(self.verticalLayout_7)
        self.verticalLayout_8 = QtWidgets.QVBoxLayout()
        self.verticalLayout_8.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.lineEdit_cond_2_1 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_2_1.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_2_1.setSizePolicy(sizePolicy)
        self.lineEdit_cond_2_1.setMaximumSize(QtCore.QSize(50, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.lineEdit_cond_2_1.setFont(font)
        self.lineEdit_cond_2_1.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_2_1.setObjectName("lineEdit_cond_2_1")
        self.verticalLayout_8.addWidget(self.lineEdit_cond_2_1)
        self.lineEdit_cond_2_2 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_2_2.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_2_2.setSizePolicy(sizePolicy)
        self.lineEdit_cond_2_2.setMaximumSize(QtCore.QSize(50, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.lineEdit_cond_2_2.setFont(font)
        self.lineEdit_cond_2_2.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_2_2.setObjectName("lineEdit_cond_2_2")
        self.verticalLayout_8.addWidget(self.lineEdit_cond_2_2)
        self.lineEdit_cond_2_3 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_2_3.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_2_3.setSizePolicy(sizePolicy)
        self.lineEdit_cond_2_3.setMaximumSize(QtCore.QSize(50, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.lineEdit_cond_2_3.setFont(font)
        self.lineEdit_cond_2_3.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_2_3.setObjectName("lineEdit_cond_2_3")
        self.verticalLayout_8.addWidget(self.lineEdit_cond_2_3)
        self.lineEdit_cond_2_4 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_2_4.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_2_4.setSizePolicy(sizePolicy)
        self.lineEdit_cond_2_4.setMaximumSize(QtCore.QSize(50, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.lineEdit_cond_2_4.setFont(font)
        self.lineEdit_cond_2_4.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_2_4.setObjectName("lineEdit_cond_2_4")
        self.verticalLayout_8.addWidget(self.lineEdit_cond_2_4)
        self.horizontalLayout_5.addLayout(self.verticalLayout_8)
        self.verticalLayout_9 = QtWidgets.QVBoxLayout()
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.lineEdit_cond_3_1 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_3_1.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_3_1.setSizePolicy(sizePolicy)
        self.lineEdit_cond_3_1.setMaximumSize(QtCore.QSize(70, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.lineEdit_cond_3_1.setFont(font)
        self.lineEdit_cond_3_1.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_3_1.setObjectName("lineEdit_cond_3_1")
        self.verticalLayout_9.addWidget(self.lineEdit_cond_3_1)
        self.lineEdit_cond_3_2 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_3_2.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_3_2.setSizePolicy(sizePolicy)
        self.lineEdit_cond_3_2.setMaximumSize(QtCore.QSize(70, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.lineEdit_cond_3_2.setFont(font)
        self.lineEdit_cond_3_2.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_3_2.setObjectName("lineEdit_cond_3_2")
        self.verticalLayout_9.addWidget(self.lineEdit_cond_3_2)
        self.lineEdit_cond_3_3 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_3_3.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_3_3.setSizePolicy(sizePolicy)
        self.lineEdit_cond_3_3.setMaximumSize(QtCore.QSize(70, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.lineEdit_cond_3_3.setFont(font)
        self.lineEdit_cond_3_3.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_3_3.setObjectName("lineEdit_cond_3_3")
        self.verticalLayout_9.addWidget(self.lineEdit_cond_3_3)
        self.lineEdit_cond_3_4 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_3_4.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_3_4.setSizePolicy(sizePolicy)
        self.lineEdit_cond_3_4.setMaximumSize(QtCore.QSize(70, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.lineEdit_cond_3_4.setFont(font)
        self.lineEdit_cond_3_4.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_3_4.setObjectName("lineEdit_cond_3_4")
        self.verticalLayout_9.addWidget(self.lineEdit_cond_3_4)
        self.horizontalLayout_5.addLayout(self.verticalLayout_9)
        self.verticalLayout_10 = QtWidgets.QVBoxLayout()
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.lineEdit_cond_4_1 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_4_1.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_4_1.setSizePolicy(sizePolicy)
        self.lineEdit_cond_4_1.setMaximumSize(QtCore.QSize(50, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.lineEdit_cond_4_1.setFont(font)
        self.lineEdit_cond_4_1.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_4_1.setObjectName("lineEdit_cond_4_1")
        self.verticalLayout_10.addWidget(self.lineEdit_cond_4_1)
        self.lineEdit_cond_4_2 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_4_2.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_4_2.setSizePolicy(sizePolicy)
        self.lineEdit_cond_4_2.setMaximumSize(QtCore.QSize(50, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.lineEdit_cond_4_2.setFont(font)
        self.lineEdit_cond_4_2.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_4_2.setObjectName("lineEdit_cond_4_2")
        self.verticalLayout_10.addWidget(self.lineEdit_cond_4_2)
        self.lineEdit_cond_4_3 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_4_3.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_4_3.setSizePolicy(sizePolicy)
        self.lineEdit_cond_4_3.setMaximumSize(QtCore.QSize(50, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.lineEdit_cond_4_3.setFont(font)
        self.lineEdit_cond_4_3.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_4_3.setObjectName("lineEdit_cond_4_3")
        self.verticalLayout_10.addWidget(self.lineEdit_cond_4_3)
        self.lineEdit_cond_4_4 = QtWidgets.QLineEdit(self.layoutWidget4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_cond_4_4.sizePolicy().hasHeightForWidth())
        self.lineEdit_cond_4_4.setSizePolicy(sizePolicy)
        self.lineEdit_cond_4_4.setMaximumSize(QtCore.QSize(50, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(14)
        self.lineEdit_cond_4_4.setFont(font)
        self.lineEdit_cond_4_4.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_cond_4_4.setObjectName("lineEdit_cond_4_4")
        self.verticalLayout_10.addWidget(self.lineEdit_cond_4_4)
        self.horizontalLayout_5.addLayout(self.verticalLayout_10)
        self.label_show_camera = QtWidgets.QLabel(self.centralwidget)
        self.label_show_camera.setGeometry(QtCore.QRect(710, 190, 267, 201))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_show_camera.sizePolicy().hasHeightForWidth())
        self.label_show_camera.setSizePolicy(sizePolicy)
        self.label_show_camera.setMinimumSize(QtCore.QSize(200, 150))
        self.label_show_camera.setMaximumSize(QtCore.QSize(99999, 16777215))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.label_show_camera.setFont(font)
        self.label_show_camera.setText("")
        self.label_show_camera.setObjectName("label_show_camera")
        self.layoutWidget5 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget5.setGeometry(QtCore.QRect(990, 190, 31, 211))
        self.layoutWidget5.setObjectName("layoutWidget5")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.layoutWidget5)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.button_open_camera = QtWidgets.QPushButton(self.layoutWidget5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_open_camera.sizePolicy().hasHeightForWidth())
        self.button_open_camera.setSizePolicy(sizePolicy)
        self.button_open_camera.setMinimumSize(QtCore.QSize(0, 0))
        self.button_open_camera.setMaximumSize(QtCore.QSize(99999, 99999))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.button_open_camera.setFont(font)
        self.button_open_camera.setObjectName("button_open_camera")
        self.verticalLayout_2.addWidget(self.button_open_camera)
        self.button_close = QtWidgets.QPushButton(self.layoutWidget5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_close.sizePolicy().hasHeightForWidth())
        self.button_close.setSizePolicy(sizePolicy)
        self.button_close.setMinimumSize(QtCore.QSize(0, 0))
        self.button_close.setMaximumSize(QtCore.QSize(99999, 99999))
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        self.button_close.setFont(font)
        self.button_close.setObjectName("button_close")
        self.verticalLayout_2.addWidget(self.button_close)
        self.layoutWidget6 = QtWidgets.QWidget(self.centralwidget)
        self.layoutWidget6.setGeometry(QtCore.QRect(560, 380, 141, 22))
        self.layoutWidget6.setObjectName("layoutWidget6")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.layoutWidget6)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.lineEdit_temp_1 = QtWidgets.QLineEdit(self.layoutWidget6)
        self.lineEdit_temp_1.setMaximumSize(QtCore.QSize(200, 16777215))
        self.lineEdit_temp_1.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_temp_1.setObjectName("lineEdit_temp_1")
        self.horizontalLayout_2.addWidget(self.lineEdit_temp_1)
        self.lineEdit_temp_2 = QtWidgets.QLineEdit(self.layoutWidget6)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_temp_2.sizePolicy().hasHeightForWidth())
        self.lineEdit_temp_2.setSizePolicy(sizePolicy)
        self.lineEdit_temp_2.setMinimumSize(QtCore.QSize(40, 0))
        self.lineEdit_temp_2.setMaximumSize(QtCore.QSize(60, 16777215))
        self.lineEdit_temp_2.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lineEdit_temp_2.setObjectName("lineEdit_temp_2")
        self.horizontalLayout_2.addWidget(self.lineEdit_temp_2)
        self.widget = QtWidgets.QWidget(self.centralwidget)
        self.widget.setGeometry(QtCore.QRect(930, 421, 91, 131))
        self.widget.setObjectName("widget")
        self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.widget)
        self.verticalLayout_11.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.lineEdit_btcond_4 = QtWidgets.QLineEdit(self.widget)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.lineEdit_btcond_4.setFont(font)
        self.lineEdit_btcond_4.setObjectName("lineEdit_btcond_4")
        self.verticalLayout_11.addWidget(self.lineEdit_btcond_4)
        self.lineEdit_btcond_1 = QtWidgets.QLineEdit(self.widget)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.lineEdit_btcond_1.setFont(font)
        self.lineEdit_btcond_1.setObjectName("lineEdit_btcond_1")
        self.verticalLayout_11.addWidget(self.lineEdit_btcond_1)
        self.lineEdit_btcond_5 = QtWidgets.QLineEdit(self.widget)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.lineEdit_btcond_5.setFont(font)
        self.lineEdit_btcond_5.setObjectName("lineEdit_btcond_5")
        self.verticalLayout_11.addWidget(self.lineEdit_btcond_5)
        self.lineEdit_btcond_2 = QtWidgets.QLineEdit(self.widget)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.lineEdit_btcond_2.setFont(font)
        self.lineEdit_btcond_2.setObjectName("lineEdit_btcond_2")
        self.verticalLayout_11.addWidget(self.lineEdit_btcond_2)
        self.lineEdit_btcond_6 = QtWidgets.QLineEdit(self.widget)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.lineEdit_btcond_6.setFont(font)
        self.lineEdit_btcond_6.setObjectName("lineEdit_btcond_6")
        self.verticalLayout_11.addWidget(self.lineEdit_btcond_6)
        self.lineEdit_btcond_3 = QtWidgets.QLineEdit(self.widget)
        font = QtGui.QFont()
        font.setFamily("Times New Roman")
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.lineEdit_btcond_3.setFont(font)
        self.lineEdit_btcond_3.setObjectName("lineEdit_btcond_3")
        self.verticalLayout_11.addWidget(self.lineEdit_btcond_3)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1024, 23))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        __sortingEnabled = self.listWidget_msg.isSortingEnabled()
        self.listWidget_msg.setSortingEnabled(False)
        item = self.listWidget_msg.item(0)
        item.setText(_translate("MainWindow", "垃圾信息列表："))
        self.listWidget_msg.setSortingEnabled(__sortingEnabled)
        self.pushButton_start.setText(_translate("MainWindow", "开始检测"))
        self.lineEdit_list_1_1.setText(_translate("MainWindow", "可回收物:"))
        self.lineEdit_list_1_2.setText(_translate("MainWindow", "有害垃圾:"))
        self.lineEdit_list_1_3.setText(_translate("MainWindow", "厨余垃圾:"))
        self.lineEdit_list_1_4.setText(_translate("MainWindow", "其他垃圾:"))
        self.lineEdit_list_1_total.setText(_translate("MainWindow", "垃圾总数:"))
        self.lineEdit_list_2_1.setText(_translate("MainWindow", "0"))
        self.lineEdit_list_2_2.setText(_translate("MainWindow", "0"))
        self.lineEdit_list_2_3.setText(_translate("MainWindow", "0"))
        self.lineEdit_list_2_4.setText(_translate("MainWindow", "0"))
        self.lineEdit_list_2_total.setText(_translate("MainWindow", "0"))
        self.pushButton_play.setText(_translate("MainWindow", "播放视频"))
        __sortingEnabled = self.listWidget_debug.isSortingEnabled()
        self.listWidget_debug.setSortingEnabled(False)
        item = self.listWidget_debug.item(0)
        item.setText(_translate("MainWindow", "Debug列表："))
        self.listWidget_debug.setSortingEnabled(__sortingEnabled)
        self.button_moto_back.setText(_translate("MainWindow", "舵机\n"
"  \n"
"归位"))
        self.button_moto_test.setText(_translate("MainWindow", "舵机\n"
"测试\n"
"按钮"))
        self.button_moto_safe.setText(_translate("MainWindow", "舵机\n"
"调试\n"
"按钮"))
        self.button_sensor.setText(_translate("MainWindow", "手动\n"
"刷新\n"
"测满"))
        self.lineEdit_cond_1_1.setText(_translate("MainWindow", " 可回收物桶状态："))
        self.lineEdit_cond_1_2.setText(_translate("MainWindow", "    有害垃圾桶状态："))
        self.lineEdit_cond_1_3.setText(_translate("MainWindow", "    厨余垃圾桶状态："))
        self.lineEdit_cond_1_4.setText(_translate("MainWindow", "    其他垃圾桶状态："))
        self.lineEdit_cond_2_1.setText(_translate("MainWindow", "未满"))
        self.lineEdit_cond_2_2.setText(_translate("MainWindow", "未满"))
        self.lineEdit_cond_2_3.setText(_translate("MainWindow", "未满"))
        self.lineEdit_cond_2_4.setText(_translate("MainWindow", "未满"))
        self.lineEdit_cond_3_1.setText(_translate("MainWindow", "待测量"))
        self.lineEdit_cond_3_2.setText(_translate("MainWindow", "待测量"))
        self.lineEdit_cond_3_3.setText(_translate("MainWindow", "待测量"))
        self.lineEdit_cond_3_4.setText(_translate("MainWindow", "待测量"))
        self.lineEdit_cond_4_1.setText(_translate("MainWindow", "N/A"))
        self.lineEdit_cond_4_2.setText(_translate("MainWindow", "N/A"))
        self.lineEdit_cond_4_3.setText(_translate("MainWindow", "N/A"))
        self.lineEdit_cond_4_4.setText(_translate("MainWindow", "N/A"))
        self.button_open_camera.setText(_translate("MainWindow", "打\n"
"开\n"
"相\n"
"机"))
        self.button_close.setText(_translate("MainWindow", "退\n"
"出"))
        self.lineEdit_temp_1.setText(_translate("MainWindow", "树莓派温度:"))
        self.lineEdit_temp_2.setText(_translate("MainWindow", "N/A"))
        self.lineEdit_btcond_4.setText(_translate("MainWindow", "主开关状态:"))
        self.lineEdit_btcond_5.setText(_translate("MainWindow", "归零开关状态:"))
        self.lineEdit_btcond_6.setText(_translate("MainWindow", "复位开关状态:"))